package com.yjps.house.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by hao on 2015/8/20.
 */
@Entity
@Table(name="t_house_recommended_history")
public class RecommendedHistory extends BaseModel{

    //经纪人id
    @Column(name = "agents_id",length =11 ,nullable = false)
    private int agentsId;

    //房源id
    @Column(name = "house_id",length =11 ,nullable = false)
    private int houseId;

    //推荐申请时间
    @Column(name = "recommend_time",length =20 ,nullable = false)
    private String time;

    //处理时间
    @Column(name = "recommend_handler_time",length =20 )
    private String handleTime;

    //处理结果
    @Column(name = "recommend_handler_result",length =1)
    private int handleResult;

    //处理人id（门店经理）
    @Column(name = "recommend_handler_user",length =11)
    private int handleUserId;

    public int getAgentsId() {
        return agentsId;
    }

    public void setAgentsId(int agentsId) {
        this.agentsId = agentsId;
    }

    public int getHouseId() {
        return houseId;
    }

    public void setHouseId(int houseId) {
        this.houseId = houseId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(String handleTime) {
        this.handleTime = handleTime;
    }

    public int getHandleResult() {
        return handleResult;
    }

    public void setHandleResult(int handleResult) {
        this.handleResult = handleResult;
    }

    public int getHandleUserId() {
        return handleUserId;
    }

    public int isHandleUserId() {
        return handleUserId;
    }

    public void setHandleUserId(int handleUserId) {
        this.handleUserId = handleUserId;
    }
}
